export enum MenuType {
  FEATURE = "M",
  FUNCTION = "C",
  OPERATION = "F",
}

export interface MenuItem {
  menuId: number;
  menuName: string;
  path: string;
  children?: MenuItem[];
  icon?: string;
  orderNum: number;
  menuType: MenuType;
  parentId?: number;
}

export interface MenuTreeItem {
  menuId: number;
  menuName: string;
  path: string;
  children?: MenuTreeItem[];
  icon?: string;
  orderNum: number;
  menuType: MenuType;
  parentId?: number;
  key: number;
}
